// components/owner/owner-index-info/index.js
const { navTo } = require('../../../common/env');
import { PACKAGE_OWNER_PAGE } from '../../../constants/route';
Component({
    properties: {
        follow: {
            type: Number,
            value: 0,
        },
        join: {
            type: Number,
            value: 0,
        },
        buy: {
            type: Number,
            value: 0,
        },
    },
    data: {
        pagePath: PACKAGE_OWNER_PAGE,
    },
    methods: {
        menuAction: function (event) {
            const { path } = event.currentTarget.dataset;
            navTo(path);
        },
    }
})
